package cn.tedu.store.temperatureDetection.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * @author 75936
 * @version 1.0
 * @project demo_test
 * @description
 * @date 2022-11-28 15:24:30
 */
@TableName(value = "COM_TEMPERATURE_PATIENT")
@Data
public class Patient {
    /**病人姓名*/
    @TableField(value = "PATIENT_NAME")
    private String patientName;

    /**病人年龄*/
    @TableField(value = "PATIENT_AGE")
    private Integer patientAge;

    /**病人性别*/
    @TableField(value = "PATIENT_SEX")
    private Integer patientSex;

    /**病人身份证号码*/
    @TableField(value = "PATIENT_IDENNO")
    private String patientIdEnNo;

    /**病人体温*/
    @TableField(value = "PATIENT_TEMPERATURE")
    private Float patientTemperature;

    /**病人核酸结果*/
    @TableField(value = "NUCLEIC_RESULT")
    private String nucleicResult;

    /**创建时间*/
    @TableField(fill = FieldFill.INSERT,value = "CREATE_TIME")
    private Date createTime;

    /**修改时间*/
    @TableField(fill = FieldFill.UPDATE,value = "UPDATE_TIME")
    private Date updateTime;

    /**逻辑删除*/
    @TableLogic()
    private Integer isDelete;


}
